﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogic;
using BusinessLogic.Controller;
using BusinessLogic.Helper;

public partial class AjaxPages_Property_Search_Buy :AjaxPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Bind();
    }
    private void Bind()
    {
        new PropertyTypeController().BindPropertyType(ddPropertyType);
        new CityController().BindCity(ddCity);
        PropertyHelper.BindInterger(ddBedrooms, 10);
        PropertyHelper.BindPriceMin(ddPriceRangeMin);
        PropertyHelper.BindPriceMax(ddPriceRangeMax);
        
    }
}